package com.ncr.travel.appmgr.client.view;

import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.ncr.travel.appmgr.client.mvp.View;
import com.ncr.travel.appmgr.client.presenter.RulePresenter;
import com.ncr.travel.appmgr.client.ui.table.ColumnDescriptor;
import com.ncr.travel.appmgr.client.ui.table.TableModel;
import com.ncr.travel.appmgr.model.shared.ScreenConfiguration;

public interface RuleView extends View {

	void setPresenter(RulePresenter presenter);

	void setScreenConfiguration(ScreenConfiguration screenConfiguration);

	ConfigEditorView getConfigEditor();

	ColumnDescriptor[] getColumnDescriptors();

	TableModel[] getModels();

	TableModel getModel(int i);

	HasWidgets getHtmlPanel();

	ScrollPanel getFunctionScrollPanel();

	VerticalPanel getVerticalPanel();

	void showView();

	String getIsAddRequired();

	String getIsDeleteRequired();

	String getAddButtonStyle();

	void setIsAddRequired(String isAddRequired);

	void setIsDeleteRequired(String isDeleteRequired);

	void setAddButtonStyle(String addButtonStyle);

	String getDeleteButtonStyle();

	void setDeleteButtonStyle(String deleteButtonStyle);

}
